package cn.rmc.hrm.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component //其他地方要注入
@ConfigurationProperties(prefix = "file.alicloud")
@Data
public class AliyunOssProperties {
    private String bucketName;
    private String accessKey;
    private String secretKey;
    private String endpoint;
}